const mountNode = document.getElementById('menu');


const { Breadcrumb, Alert } = antd;

function makeBreadCrumb(items){
  let a = items.map(x => <Breadcrumb.Item>{x}</Breadcrumb.Item>);
  console.log(a);
  return (<Breadcrumb>
  {a}
  </Breadcrumb>)
}

ReactDOM.render(
  makeBreadCrumb(['Home','App','App','App','App','App'])
, mountNode);